#ifndef _BOUNDINGBOX_H
#define _BOUNDINGBOX_H


#include "Vector3.h"

struct BoundingBox{
	Vector3 min, max;

	bool containsPoint(Vector3& point){
		if(point > min && point < max)
			return true;
		else
			return false;
	}

	Vector3 getCenter(){
		return (min + max)/2;
	}

	/** merge to contain another point. */
	//void merge(Vector3& point)
};


#endif